package com.liao.note.enums;

import lombok.Getter;

@Getter
public enum ResultCode {

    SUCCESS(1000, "操作成功"),
    FAILED(2001, "响应失败"),
    UNEXIST_PASSWORD(2002, "密码或者账号错误"),
    ERROR(5000, "未知错误"),
    REQUEST_ERROR(5001, "请求错误错误");


    public int code;
    public String msg;

    ResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
